package cn.chrisx.drad.wrap;

import android.app.Activity;
import android.content.Context;

import cn.chrisx.drad.core.DrAdConfig;
import cn.chrisx.drad.core.DrAdPlatform;

/**
 * @author Jzfox <jz_boy@163.com>
 * @version 1.0
 * @date 2018/9/21 16:48
 * @description
 * @copyright ©2018 www.jzfox.net All rights reserved.
 */
public interface Ad {

    boolean loadAd(Context context);

    void setAdConfig(DrAdConfig config);

    void onResume(Activity activity);

    void onPause(Activity activity);

    void onDestroy(Context context);

    void setAdListener(AdListener listener);

    boolean show();

    boolean isValid();

    DrAdPlatform platform();
}
